Skip to content

Add printing build logs on failure#12

Open
aglitchman wants to merge 1 commit intodefold:masterfrom
aglitchman:fork-branch
Open

Add printing build logs on failure#12
aglitchman wants to merge 1 commit intodefold:masterfrom
aglitchman:fork-branch

Conversation

@aglitchman
Copy link

Added a "Print build log on failure" step to all three build jobs (Linux, Windows, macOS) in bob.yml.
When a build fails, the contents of build/*/log.txt are automatically printed, making it easier to diagnose build errors directly in the GitHub Actions logs without needing to reproduce the issue locally.
The step only triggers on failure (if: failure()), so it has no impact on successful runs.

Fixes #11

@britzl britzl requested a review from JCash March 9, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build logs are not visible in GitHub Actions when a build fails (bob.yml)

1 participant